/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package processManagement;

/**
 *
 * @author Administrator
 */
public class Process {
    public int ID;             //进程标示符
    public int status;         //进程状态，0表示执行，1表示就绪，2表示阻塞
    public int priority;       //优先级
    public int size;           //所需内存大小
    //boolean[] device=new boolean[5];  //对应5个设备，true表示需要使用该号设备，false表示不需要使用该号设备
    public int[] device = new int[3];
    public int submit_time;    //提交时间
    public int execute_time;   //已执行时间
    public int duration_time;  //持续运行时间
    public int finish_time;    //完成时间
    public int require_time;  //执行所需时间
    
    public Process(int ID){
        this.ID=ID;
    }
    

}
